package org.jeecg.modules.system.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: app版本管理
 * @Author: jeecg-boot
 * @Date:   2019-12-02
 * @Version: V1.0
 */
@Data
@TableName("sys_app_version")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="sys_app_version对象", description="app版本管理")
public class SysAppVersion {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**APP系统,android或ios*/
	@Excel(name = "APP系统,android或ios", width = 15)
    @ApiModelProperty(value = "APP系统,android或ios")
	private String appOs;
	/**APP版本号*/
	@Excel(name = "APP版本号", width = 15)
    @ApiModelProperty(value = "APP版本号")
	private Integer versionNum;
	/**更新内容*/
	@Excel(name = "更新内容", width = 15)
    @ApiModelProperty(value = "更新内容")
	private Object updateContent;
	/**强制更新标志,0:否,1:是*/
	@Excel(name = "强制更新标志,0:否,1:是", width = 15)
    @ApiModelProperty(value = "强制更新标志,0:否,1:是")
	private Boolean updateForce;
	/**下载地址,安卓时使用*/
	@Excel(name = "下载地址,安卓时使用", width = 15)
    @ApiModelProperty(value = "下载地址,安卓时使用")
	private Object downloadUrl;

	private String downloadName;

	/**创建者*/
	@Excel(name = "创建者", width = 15)
    @ApiModelProperty(value = "创建者")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**更新者*/
	@Excel(name = "更新者", width = 15)
    @ApiModelProperty(value = "更新者")
	private String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private Date updateTime;
	/**备注信息*/
	@Excel(name = "备注信息", width = 15)
    @ApiModelProperty(value = "备注信息")
	private String remarks;
	/**删除标记*/
	@Excel(name = "删除标记", width = 15)
    @ApiModelProperty(value = "删除标记")
	@TableLogic
	private String delFlag;
}
